package com.example.kotlinlearn.kotlinLearn.review

fun main(){

    val aaa = Person(12,"adadfaa")
    aaa.name = "aaa"
    println(aaa.high.toString()+aaa.age.toString()+aaa.name)
    aaa.tureName()

    val s = Student(1,"sadad",131)
    println(s.getGrade())

    val x = Student()
    val y = Student(1,"1313")
    val x1 = Student(1,"sfsf",13)
    val x2 = Student(1,1,"242")

    val y1 = BadStudent()
    println(y1.name1)
}